package com.yhc.bootdemo.entity;

public class User {
    private Integer id;
    private String name;
    private String gendar;

    public User() {
    }

    public User(Integer id, String name, String gendar) {
        this.id = id;
        this.name = name;
        this.gendar = gendar;
    }

    public Integer getId() {
        return id;
    }

    public void setId(Integer id) {
        this.id = id;
    }

    public String getName() {
        return name;
    }

    public void setName(String name) {
        this.name = name;
    }

    public String getGendar() {
        return gendar;
    }

    public void setGendar(String gendar) {
        this.gendar = gendar;
    }

    @Override
    public String toString() {
        return "工号："+this.id+" 姓名："+this.name+" 性别："+this.gendar;
    }
}
